package cn.yanghan.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class sendSmsCodeDto {
    @NotEmpty(message = "手机号不能为空")
    private String mobile;
    @NotEmpty(message = "图片验证码不能为空")
    private String imageCode;
    @NotEmpty(message = "非法请求")
    private String imageCodeKey; //key不可能为空，我们在js中自动生成了
}
